home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Communications / Divers / DinkClass ƒ / DC Template App / DHLWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-18  |  1.2 KB  |  43 lines  |  [TEXT/KAHL]

  1. /*
  2.     This is the class declarations for the DWindow subclass for the
  3.     DHLEvents demo.  This class is only responcible for the presenting
  4.     of the results measuered in the HL and AE event bandwidth tests.
  5.     Mark Gross 10/10/92
  6. */
  7. #ifndef _DHLWINDOW__
  8. #define _DHLWINDOW__
  9.  
  10. ////#include <DWindow.h>
  11. #include <DScrollWindow.h>
  12.  
  13.  
  14. ////class DHLWindow : public DWindow
  15. class DHLWindow : public DScrollWindow
  16. {
  17.  
  18. public:
  19.  
  20.     DHLWindow(void);
  21.     ~DHLWindow(void);
  22.         // just stubs for now... (and perhaps always for this application.
  23.     
  24.     virtual Boolean Init(DDocument *doc, Boolean hasColorWindows);
  25.         //just a simple init wich passes through to the
  26.         // inherited method...for the moment.
  27.         
  28.     virtual void    Draw(Rect *r);
  29.         // simply draws the data held in the Application
  30.         // subclass after the computation is finished.
  31.  
  32.     //virtual Boolean KillMeNext(void);
  33.         // as stub to indicate how to support closing a window
  34.         // while alowing the user the opertunity to cancel out of
  35.         // the close.  You can use it or the destructor to free 
  36.         // space allocated.  Sometimes its better to use one over
  37.         // the other depending on how you want your application
  38.         // to behave as you delete objects.
  39.         
  40. }; // end of DHLWindow class declaration
  41.  
  42. #endif _DHLWINDOW__
  43.